<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML ">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<title>注册表</title>
	<style type="text/css">
		form{width: 400px;background:#e4dfef;padding: 10px;margin-left: 490px;margin-top: 50px }
		button{    background: #eadb0e; width: 80%;padding: 8px;border-radius: 5px}
		button:hover{background: #2F4F4F;padding: 8px;border-radius: 8px}
		input{padding: 10px;}
		.input:focus{background: #FFC0CB}
		.zc{    width: 80%;    background: cyan;}
	</style>
  </head>
  
  <body>
<script type="text/javascript">
 </script>
	<form id="logininform1" action="servlet/Servlet1">
	<fieldset>
	<legend align="center" ><p align="center">注册表单</p></legend>
		<p><label for="user">账号：</label><input class="input" type="text" name="user" id="user" placeholder="账号" required=""></p>
		<p><label for="password">密码：</label><input class="input" type="password" name="password" id="password" placeholder="密码" required=""></p>
		<p><label for="tel">电话：</label><input class="input" type="tel" name="tel" id="tel" placeholder="电话号码"></p>
		<p><label for="email">邮箱：</label><input class="input" type="email" name="email" id="email" placeholder="电子邮件"></p>
        <button type="submit">注册</button> <br>
	</fieldset>
	</form>
  </body>
</html>
